From: Sergio Costas Rodriguez Date: Tue, 24 Jun 2025 16:20:21 +0000 (+0200) Subject: dateMenu: Add accessibility to Events and Weather X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~25 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2203b7eac39deb57a0c806bb4ca082f19993ba16;p=gnome-shell.git dateMenu: Add accessibility to Events and Weather The Events element, with today events, and the Weather element, with the weather in our location, lack accessibility names. This patch fixes it. Part-of: --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 213d72e95..7e7477a34 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -132,6 +132,7 @@ class EventsSection extends St.Button { style_class: 'events-title', }); this.child.add_child(this._title); + this.labelActor = this._title; this._eventsList = new St.BoxLayout({ style_class: 'events-list', @@ -567,6 +568,7 @@ class WeatherSection extends St.Button { }); titleBox.add_child(this._titleLabel); box.add_child(titleBox); + this.labelActor = this._titleLabel; this._titleLocation = new St.Label({ style_class: 'weather-header location',